﻿using System;
using System.Collections.Generic;

namespace BenCaoXuan.Infrastructure.EFCore.MySql;

/// <summary>
/// 产品文章表
/// </summary>
public partial class ProductArticle
{
    /// <summary>
    /// 文章ID
    /// </summary>
    public string PaId { get; set; } = null!;

    /// <summary>
    /// 文章标题
    /// </summary>
    public string? PaTitle { get; set; }

    /// <summary>
    /// 文章封面
    /// </summary>
    public string? PaCover { get; set; }

    /// <summary>
    /// 产品id
    /// </summary>
    public string? PaProductId { get; set; }

    /// <summary>
    /// 产品名称
    /// </summary>
    public string? PaProductName { get; set; }

    /// <summary>
    /// 类别
    /// </summary>
    public string? PaProductType { get; set; }

    /// <summary>
    /// 文章内容
    /// </summary>
    public string? PaContent { get; set; }

    /// <summary>
    /// 发布日期
    /// </summary>
    public DateTime? PaPublishTime { get; set; }

    /// <summary>
    /// 浏览量
    /// </summary>
    public int? PaLookCount { get; set; }

    /// <summary>
    /// 状态(1-已发布 0-草稿)
    /// </summary>
    public int? PaStatus { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? PaCreateTime { get; set; }
}
